package yt.demo.appcoresystem.dto;

import lombok.Data;
import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

@Data
public class MenuTreeDTO {
    private String path;
    private String name;
    private Meta meta;
    private List<MenuTreeDTO> children = new ArrayList<>();
    @Getter
    @Data
    public static class Meta {
        private String title;
        private String icon;
        private List<String> roles;
        private List<String> auths;

    }
}
